struct · System
ValueTuple<T1>
public struct System.ValueTuple<T1> : System.IToString, System.IHashable<System.ValueTuple<T1>>
1 item in a value: Item1, which can be changed.
- Kind
- struct
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
Inheritance
- Interfaces
-
IToStringIHashable<TSelf>
Constructors
constructor ValueTuple(Item1: T1)
#
Methods
method ToTuple() -> System.Tuple<T1>
#
The same items in a Tuple (a class).
method ToString() -> System.String<u8>
#
method Equals(other: System.ValueTuple<T1>) -> bool
#
Fields
field Item1: T1
#
Source
ValueTuple<T1> as Larva HIR, decompiled from its Larva HIR.
// 1 item in a value: Item1, which can be changed.
public struct System.ValueTuple<T1> : System.IToString, System.IHashable<System.ValueTuple<T1>>
{
field Item1: T1
constructor ValueTuple(Item1: T1)
// The same items in a Tuple (a class).
method ToTuple() -> System.Tuple<T1>
method ToString() -> System.String<u8>
method Hash() -> u64
method Equals(other: System.ValueTuple<T1>) -> bool
}